package com.imooc.mail.service;

import com.imooc.mail.pojo.User;
import com.imooc.mail.vo.ResponseVo;

/**
 * @Author wjc
 * Date on 2020/6/4 20:50
 */
public interface IUserService {
    /**
     * 注册
     *
     * @param user 入参
     * @return
     */
    ResponseVo<User> register(User user);

    /**
     * 登录
     *
     * @param user 入参
     * @return
     */
    ResponseVo<User> login(User user);
}
